using System;

#if NETDUINOGO
namespace NetduinoGo.Modules.PeteBrown
#elif NETDUINO
namespace Netduino.Modules.PeteBrown
#elif GADGETEER
namespace Gadgeteer.Modules.PeteBrown
#endif
{
    public enum MidiActiveSenseMode
    {
        /// <summary>
        /// When an active sense message is received, automatically respond with an Active Sense Message
        /// </summary>
        AutomaticallyRespond,
        
        // this one only makes sense if this is a sound module, which in most cases, it will not be
        // Typical approach would be to set up a timer and check for a new AS message (or other message)
        // ever 400ms. If no message received, do an internal "all notes off".
        /* AutomaticallyRespondAndActivelyListen, */

        /// <summary>
        /// Don't do any special processing for active sense messages. User code will handle it
        /// </summary>
        DispatchMessageEvent,

        /// <summary>
        /// Ignore the active sense message and completely discard it.
        /// </summary>
        Discard
    }
}
